package tt.dz.egobus.servicemanager.business.lock;

import tt.dz.egobus.servicemanager.core.lock.CacheLock;

/**
 * @author Anson
 * @date 17-8-9
 * @name 派车业务锁
 * @since 1.0.6
 */
public interface BusinessLock extends CacheLock {

    /**
     * @param businessId 业务流水号
     * @author Anson
     * @date 17-8-9
     * @name 当前需要设置的业务流水号
     * @since 1.0.6
     */
    void setBusinessId(String businessId);

    /**
     * @author Anson
     * @date 17-8-9
     * @name 得到当前业务流水号
     * @since 1.0.6
     */
    String businessId();

}
